package com.miaosha.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.miaosha.demo.pojo.User;
import com.miaosha.demo.vo.LoginVo;
import com.miaosha.demo.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *

*
* @author xiaoshuaila
*/
public interface IUserService extends IService<User> {

    RespBean doLogin(LoginVo loginVo,
                     HttpServletRequest request,
                     HttpServletResponse response);
    User getUserByCookie(String userTicket,HttpServletRequest request,
                         HttpServletResponse response);
    RespBean updatePassword(String userTicket,String password,
                            HttpServletRequest request,
                            HttpServletResponse response);
}
